package com.jkgh.remedium.objects.messages.ins {
	import com.jkgh.logger.Log;
	import com.jkgh.remedium.RemediumSystem;
	import com.jkgh.remedium.tools.RemediumTools;
	
	public class RemediumS2CIntResponder extends RemediumS2CResponder {
		
		override protected function consumeResponse(callID:int, remedium:RemediumSystem, onDone:Function):void {
			RemediumTools.consumeInt(remedium, function(value:int):void {
				var onReturn:Function = remedium.retrieveCall(callID);
				onReturn(value);
				onDone();
			});
		}
		
	}
}